package com.zhixing.user.domain.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum UserStatus {
    ABNORMAL(0, "禁用"),
    NORMAL(1, "正常");

    @JsonValue
    @EnumValue
    private final int value;
    private final String desc;
}
